from RedisPubSubHelper import RedisPubSubHelper

helper = RedisPubSubHelper('super')
subscribe = helper.subscribe()
while True:
    msgs = subscribe.listen()
    for msg in msgs:
        print(msg)
        # if i["type"] == "message":
        #     print(str(i["channel"], encoding="utf-8") + ":" + str(i["data"], encoding="utf-8"))
        # elif i["type"] == "subscrube":
        #     print(str(i["chennel"], encoding="utf-8"))
